/*
 *  mih_dispatcher.c
 *  MIHF
 *
 *  Created by injae song on 11. 3. 4..
 *  Copyright 2011 KyungHee Univ. All rights reserved.
 *
 */

#include "mih_dispatcher.h"

void mih_sap_dispatch(mih_message *msg, mih_user *user) {
	
	switch(msg->header->sid) 
	{
		case SERVICE_MANAGEMENT:
			mih_service_management_dispatch(msg, user);	
			break;
		case EVENT_SERVICE:
			mih_event_service_dispatch(msg, user);
			break;
		case COMMAND_SERVICE:
			mih_command_service_dispatch(msg, user);
			break;
		case INFORMATION_SERVICE:
			mih_information_service_dispatch(msg, user);
			break;
	}
	return;
}


